package imlayer

import (
	"dhfshop/models/im"
	"dhfshop/models/member"
)

func ForwardUnSubscribeEvent(msg *im.WxMsgReceiptRecords) error {
	members := &member.MemberValue{OpenID:msg.FromUserName, IsSubScribe:false}
	if err := member.UpdateMemberByOpenId(members, "is_subscribe"); err != nil {
		//beego.Debug(err.Error())
	}
	return nil
}
